package com.woniuxy.springparking.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * (OverOrder)实体类
 *
 * @author makejava
 * @since 2020-06-18 14:55:48
 */
@Data
@ApiModel(value = "OverOrder",description = "超时订单信息")
public class OverOrder implements Serializable {
    private static final long serialVersionUID = 120679042115558869L;
    @ApiModelProperty(value = "超时订单主键")
    private Integer id;
    /**
    * 预订单ID
    */
    @ApiModelProperty(value = "预订单ID")
    private Integer orderId;
    /**
    * 用户名称
    */
    @ApiModelProperty(value = "用户名称")
    private String name;
    /**
    * 订单编号
    */
    @ApiModelProperty(value = "订单编号")
    private String num;
    /**
    * 车位地址
    */
    @ApiModelProperty(value = "车位地址")
    private String location;
    /**
    * 订单生成时间
    */
    @ApiModelProperty(value = "订单生成时间")
    private Date createTime;
    /**
    * 超时开始时间
    */
    @ApiModelProperty(value = "超时开始时间")
    private Date startTime;
    /**
    * 超时结束时间
    */
    @ApiModelProperty(value = "超时结束时间")
    private Date leaveTime;
    /**
    * 超时单价
    */
    @ApiModelProperty(value = "超时单价")
    private Double overPrice;
    /**
    * 总价
    */
    @ApiModelProperty(value = "总价D")
    private Double totalPrice;
    /**
    * 支付方式
    */
    @ApiModelProperty(value = "支付方式")
    private String method;
    /**
    * 未支付，已支付，支付失败
    */
    @ApiModelProperty(value = "支付状态")
    private String status;

    private PreOrder preOrder;


}